package me.zhengjie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import me.zhengjie.pojo.entity.PublicExam;
import org.springframework.stereotype.Component;

/**
 * @author Long
 * @date 2021/7/1 15:21
 */
@Component
public interface PublicExamMapper extends BaseMapper<PublicExam>{
    /**
     * 查询最新的一条考试公开信息
     * @return
     */
    PublicExam getNewPublicExam();
}
